package com.zl.api;

import android.content.Context;
import android.content.Intent;
import android.provider.AlarmClock;


public class AlarmSettingSession{
	public static final String TAG = "AlarmSettingSession";



	protected void startAlarmAction(Context mContext,int hour, int minute, String repeat) {
		Intent openNewAlarm = new Intent(AlarmClock.ACTION_SET_ALARM);
		openNewAlarm.putExtra(AlarmClock.EXTRA_HOUR, hour);
		openNewAlarm.putExtra(AlarmClock.EXTRA_MINUTES, minute);
		openNewAlarm.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
		mContext.startActivity(openNewAlarm);

	}

}
